<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>加盟优势轮播图页面</title>
    <%- include('./BG_layouts/header.ejs')%>
    <link rel="stylesheet" href="/background/css/banner_join.css">
</head>

<body>
    <%- include('./BG_layouts/navbar.ejs') %>
    <div class="banner_out">
        <h2>加盟优势轮播图</h2>
        <ul id="banner_top_img">
            <li>
                <h3>轮播图1</h3>
                <img src="/page/page_index/index_images//idx-banner1.jpg" alt="">
                <div style="position: relative;margin-top: 10px;">
                    <button>点击更换</button>
                    <input class="upfile" type="file" name="" id="">
                </div>
                <div class="join">
                    <form id="formdata">
                        标题：<input type="text" name="title" value=""> <br>
                        内容：<input type="text" name="content" value="">
                    </form>
                    <button id="upOffic">修改文案</button>
                </div>
                <hr>
            </li>
        </ul>
    </div>
    <%- include('./BG_layouts/aside.ejs') %>

    <%- include('./BG_layouts/footer.ejs') %>
    <script type="text/template" id="banner_top_temp">
        {{each list}}
          <li>
              <h3>轮播图{{$index+1}}</h3>
              <img src="{{$value.site}}" alt="">
              <div style="position: relative;margin-top: 10px;">
                  <button>点击更换</button>
                  <input data-id="{{$value.id}}" class="upfile" type="file" name="" id="">
              </div>
              <div class="join">
                    <form id="formdata">
                        标题：<input type="text" name="title" id="titme" value="{{$value.title}}"> <br>
                        内容：<input type="text" name="content" id="conent" value="{{$value.content}}">
                    </form>
                    <button data-id="{{$value.id}}" id="upOffic">修改文案</button>
                </div>
              <hr>
          </li>
      {{/each}}
  </script>

    <script src="/background/js/banner_join.js"></script>
</body>

</html>